import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
// 引入pinia
import {createPinia} from 'pinia'
// 引入icon
import './assets/font/iconfont'
// 添加rem布局
import './assets/js/rem.js'
// 添加全局样式
import './assets/css/global.css'
import axios from '@/request/axios'
import FooterBar from "@/components/FooterBar.vue";

const app = createApp(App);
app.component("FooterBar", FooterBar).use(createPinia()).use(router).mount('#app');
// 挂载axios
app.config.globalProperties.$axios = axios;